package com.atguigu.gulimall.prodect.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.prodect.entity.CategoryEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author zhaocun
 * @email sunlightcs@gmail.com
 * @date 2023-11-08 16:49:58
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 商品分类
     * @return
     */
    List<CategoryEntity> listWithTree();

    /**
     * 删除分类菜单
     * @param catIds
     */
    void removeMenuByIds(Long[] catIds);
}

